package cn.tedu.course.subject.pojo.dot;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class SubjectParam {
    private Long id;
    @Schema(name = "科目名称")
    @NotBlank(message = "科目名称不能为空")
    private String name;
    @Schema(name = "科目介绍")
    private String introduce;
}
